package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 冀时办对象 applets_public_jishiban
 * 
 * @author cyt
 * @date 2021-09-23
 */
public class AppletsPublicJishiban implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;

    /** 市编码 */
    @Excel(name = "市编码")
    private String cityCode;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String code;

    /** 小程序码生成方式（自动生成，静态图片） */
    @Excel(name = "小程序码生成方式", readConverterExp = "自=动生成，静态图片")
    private String generateMode;

    /** appid */
    @Excel(name = "appid")
    private String appid;

    /** appsecret */
    @Excel(name = "appsecret")
    private String appsecret;

    /** 小程序码 */
    @Excel(name = "小程序码")
    private String appletImg;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String mechanismName;

    /** 机构地址 */
    @Excel(name = "机构地址")
    private String mechanismAddress;

    /** 机构电话 */
    @Excel(name = "机构电话")
    private String mechanismPhone;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operatortime;

    /** 原始ID */
    @Excel(name = "原始ID")
    private String originalId;

    public AppletsPublicJishiban() {
    }

    public AppletsPublicJishiban(String provinceCode,String state) {
        this.provinceCode = provinceCode;
        this.state = state;
    }

    public AppletsPublicJishiban(String provinceCode, String cityCode, String state) {
        this.provinceCode = provinceCode;
        this.cityCode = cityCode;
        this.state = state;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProvinceCode(String provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setGenerateMode(String generateMode) 
    {
        this.generateMode = generateMode;
    }

    public String getGenerateMode() 
    {
        return generateMode;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setAppsecret(String appsecret) 
    {
        this.appsecret = appsecret;
    }

    public String getAppsecret() 
    {
        return appsecret;
    }
    public void setAppletImg(String appletImg) 
    {
        this.appletImg = appletImg;
    }

    public String getAppletImg() 
    {
        return appletImg;
    }
    public void setMechanismName(String mechanismName) 
    {
        this.mechanismName = mechanismName;
    }

    public String getMechanismName() 
    {
        return mechanismName;
    }
    public void setMechanismAddress(String mechanismAddress) 
    {
        this.mechanismAddress = mechanismAddress;
    }

    public String getMechanismAddress() 
    {
        return mechanismAddress;
    }
    public void setMechanismPhone(String mechanismPhone) 
    {
        this.mechanismPhone = mechanismPhone;
    }

    public String getMechanismPhone() 
    {
        return mechanismPhone;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    public void setOriginalId(String originalId)
    {
        this.originalId = originalId;
    }

    public String getOriginalId()
    {
        return originalId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("provinceCode", getProvinceCode())
            .append("cityCode", getCityCode())
            .append("code", getCode())
            .append("generateMode", getGenerateMode())
            .append("appid", getAppid())
            .append("appsecret", getAppsecret())
            .append("appletImg", getAppletImg())
            .append("mechanismName", getMechanismName())
            .append("mechanismAddress", getMechanismAddress())
            .append("mechanismPhone", getMechanismPhone())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("state", getState())
            .append("sort", getSort())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .append("originalId", getOriginalId())
            .toString();
    }
}
